package edu.hz.service;

import edu.hz.model.dto.NewsCommentDto;
import edu.hz.model.entity.NewsEntity;

import java.util.List;

public interface NewsService {

    List<NewsEntity> getAllNews();

    NewsEntity selectById(Integer id);

    List<NewsCommentDto> getCommentsByNewsId(Integer id);

}
